projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef768c7
)
* shr.el (shr-table-body): Allow tables to have text children.
author
Lars Magne Ingebrigtsen
<larsi@gnus.org>
Tue, 19 Jan 2016 13:16:34 +0000
(14:16 +0100)
committer
Lars Magne Ingebrigtsen
<larsi@gnus.org>
Tue, 19 Jan 2016 13:16:34 +0000
(14:16 +0100)
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 88041f7e553ab7a1d32c7c1c741b71f0e19ab969..746cbb61aae57cd38a0135a1c18ef20e538c79d8 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1602,7
+1602,7
@@
The preference is a float determined from `shr-prefer-media-type'."
(defun shr-table-body (dom)
(let ((tbodies (seq-filter (lambda (child)
(eq (dom-tag child) 'tbody))
- (dom-children dom))))
+ (dom-
non-text-
children dom))))
(cond
((null tbodies)
dom)